package com.dongge.service;

import com.dongge.entity.Authorization;

import java.util.List;
import java.util.Set;

/**
 * Created by zhudong on 2016/8/17.
 */
public interface AuthorizationService {
    Set<Authorization> getAuthorizationsByUserId(long id);
    Set<Authorization> getAuthorizationsByUsername(String username);
    Set<String> getAuthorizationNamesByUserId(long id);
    Set<String> getAuthorizationNamesByUsername(String username);
}
